#!/usr/bin/env bash


curl --location 'http://localhost:5814/zc-julink-warehouse/v1/cipherWithDKey' \
--header 'Content-Type: application/x-zc-object' \
--data '{
    "payload" : "eyJ0X3dvcmtfbW9kZSI6IjIifQ==",
    "wifiId" : "8650121000500040008000000fbfaf121b80",
    "cbcEnable" : false
}'

curl --location 'http://ac-new-warehouse:5814/ac-julink-warehouse/cipherWithDKey' \
--header 'Content-Type: application/x-zc-object' \
--data '{
    "payload" : "eyJ0X3dvcmtfbW9kZSI6IjIifQ==",
    "wifiId" : "8650121000500040008000000fbfaf121b80",
    "cbcEnable" : false
}'



curl --location 'http://ac-julink-warehouse:5814/zc-julink-warehouse/v1/getCipheredDKey' \
--header 'Content-Type: application/x-zc-object' \
--data '{
    "payload" : "eyJ0X3dvcmtfbW9kZSI6IjIifQ==",
    "wifiId" : "8650121000500040008000000fbfaf121b80",
    "cbcEnable" : false
}'

curl --location 'http://ac-new-warehouse:5814/ac-julink-warehouse/getCipheredDKey' \
--header 'Content-Type: application/x-zc-object' \
--data '{
    "payload" : "eyJ0X3dvcmtfbW9kZSI6IjIifQ==",
    "wifiId" : "8650121000500040008000000fbfaf121b80",
    "cbcEnable" : false
}'
